chore(deps): update dependency eslint to v10#1571
Conversation
|
🚅 Deployed to the simon.dev-pr-1571 environment in simon.dev
|
|
Claude finished @renovate[bot]'s task in 2m 6s —— View job Review: ESLint v9 → v10 Upgrade
🚨 BLOCKING: ESLint 10 Breaks Linting (Confirmed Again)CI continues to fail on every run of this PR. The incompatibility is unchanged since the first review on Feb 7. CI Error (from current run): Root CauseTwo transitive dependencies from
Note that Impact
Recommendation: Block ESLint 10 in RenovateThe current // .github/renovate.json5
{
// ... existing config ...
packageRules: [
{ matchDepTypes: ["packageManager"], automerge: true },
{
matchPackageNames: ["eslint"],
allowedVersions: "<10",
description: "Block ESLint 10 until eslint-plugin-react@8.x is released"
}
],
}Add this Renovate config rule → What to Watch For
Do not merge this PR. |
|
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
⚠️ Breaking Change: ESLint 10 Incompatibility
This upgrade to ESLint 10.0.0 introduces a critical compatibility issue:
Problem: eslint-plugin-react@7.37.5 (transitive dependency from eslint-config-next@16.1.6) is not compatible with ESLint 10.0.0.
Error:
TypeError: Error while loading rule 'react/display-name': contextOrFilename.getFilename is not a function
Why it happens: ESLint 10 changed the context API, and eslint-plugin-react@7.37.5 was only tested up to ESLint 9.7.
Recommendation: Do not merge this PR. Instead:
- Wait for
eslint-config-nextto release a version compatible with ESLint 10, OR - Pin ESLint to
^9.39.2and block ESLint 10 upgrades in Renovate config until ecosystem support catches up
de475f3 to
c16d7d2
Compare
c16d7d2 to
867bb91
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
⚠️ Breaking Change: ESLint 10 Incompatibility
This upgrade introduces a critical compatibility issue:
Problem: eslint-plugin-react@7.37.5 (transitive dependency from eslint-config-next@16.1.6) does not support ESLint 10.
Error:
TypeError: Error while loading rule 'react/display-name': contextOrFilename.getFilename is not a function
Why: ESLint 10 changed the context API. eslint-plugin-react@7.37.5 only supports eslint ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7.
Recommendation: Keep ESLint at ^9.39.2 until Next.js releases an ESLint 10-compatible version of eslint-config-next.
867bb91 to
2a57e7f
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
⚠️ Breaking Change: ESLint 10 Incompatibility
This upgrade introduces a critical compatibility issue:
Problem: eslint-plugin-react@7.37.5 (transitive dependency from eslint-config-next@16.1.6) does not support ESLint 10.
Error:
TypeError: Error while loading rule 'react/display-name': contextOrFilename.getFilename is not a function
Why: ESLint 10 changed the context API. eslint-plugin-react@7.37.5 only supports eslint ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7.
Recommendation: Keep ESLint at ^9.39.2 until Next.js releases an ESLint 10-compatible version of eslint-config-next.
2a57e7f to
77c679e
Compare
77c679e to
91a318c
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
⚠️ Critical Breaking Change: ESLint 10 Incompatibility
This upgrade to ESLint 10.0.0 introduces a critical compatibility issue:
Problem: eslint-plugin-react@7.37.5 (transitive dependency from eslint-config-next@16.1.6) does not support ESLint 10.
Error from CI:
TypeError: Error while loading rule 'react/display-name': contextOrFilename.getFilename is not a function
Why: ESLint 10 changed the context API. eslint-plugin-react@7.37.5 only supports:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
Impact:
- ❌ Linting completely broken
- ❌ CI/CD pipeline fails
- ❌ Pre-commit hooks fail
- ❌ Cannot enforce code quality standards
Recommendation:
Keep ESLint at ^9.39.2 and configure Renovate to block ESLint 10 upgrades until the ecosystem catches up:
{
"packageRules": [
{
"matchPackageNames": ["eslint"],
"allowedVersions": "< 10"
}
]
}Monitor for updates to either:
eslint-plugin-reactv8.x (with ESLint 10 support)eslint-config-nextv16.2+ (with updated dependencies)
Expected timeline: Late February 2026
91a318c to
1551d48
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 Critical Breaking Change: ESLint 10 Incompatibility
This upgrade to ESLint 10.0.0 introduces a critical compatibility issue:
Problem: eslint-plugin-react@7.37.5 (transitive dependency from eslint-config-next@16.1.6) does not support ESLint 10.
Error from CI:
TypeError: Error while loading rule 'react/display-name': contextOrFilename.getFilename is not a function
Why: ESLint 10 changed the context API. eslint-plugin-react@7.37.5 only supports:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
Impact:
- ❌ Linting completely broken
- ❌ CI/CD pipeline fails
- ❌ Pre-commit hooks fail
- ❌ Cannot enforce code quality standards
Recommendation:
Keep ESLint at ^9.39.2 and configure Renovate to block ESLint 10 upgrades until the ecosystem catches up:
{
"packageRules": [
{
"matchPackageNames": ["eslint"],
"allowedVersions": "< 10"
}
]
}Monitor for updates to either:
eslint-plugin-reactv8.x (with ESLint 10 support)eslint-config-nextv16.2+ (with updated dependencies)
Expected timeline: Late February 2026
1551d48 to
015a8aa
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 Critical Breaking Change: ESLint 10 Incompatibility
This upgrade to ESLint 10.0.0 introduces a critical compatibility issue:
Problem: eslint-plugin-react@7.37.5 (transitive dependency from eslint-config-next@16.1.6) does not support ESLint 10.
Error from CI:
TypeError: Error while loading rule 'react/display-name': contextOrFilename.getFilename is not a function
Why: ESLint 10 changed the context API. eslint-plugin-react@7.37.5 only supports:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
Impact:
- ❌ Linting completely broken
- ❌ CI/CD pipeline fails
- ❌ Pre-commit hooks fail
- ❌ Cannot enforce code quality standards
Recommendation:
Keep ESLint at ^9.39.2 and configure Renovate to block ESLint 10 upgrades until the ecosystem catches up:
{
packageRules: [
{
matchPackageNames: ["eslint"],
allowedVersions: "<10",
description: "eslint-plugin-react doesn't support ESLint 10 yet"
}
]
}Monitor for updates to either:
eslint-plugin-reactv8.x (with ESLint 10 support)eslint-config-nextv16.2+ (with updated dependencies)
Expected timeline: Late February 2026
015a8aa to
2a448bb
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 BREAKING: ESLint 10 Incompatibility
Critical Issue: This version upgrade breaks linting completely.
Error:
TypeError: Error while loading rule 'react/display-name':
contextOrFilename.getFilename is not a function
Root Cause: eslint-plugin-react@7.37.5 (from eslint-config-next@16.1.6) only supports ESLint ≤9.7.
Required Action: Keep ESLint at ^9.39.2 until:
eslint-plugin-react@8.xreleases with ESLint 10 support, OReslint-config-next@16.2+updates to compatible plugins
Block in Renovate:
{
"packageRules": [{
"matchPackageNames": ["eslint"],
"allowedVersions": "<10"
}]
}Expected Timeline: March-April 2026
2a448bb to
a0a0e4b
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 BLOCKING: ESLint 10 Breaking Change
This version upgrade breaks linting completely due to an incompatible transitive dependency.
Error:
TypeError: Error while loading rule 'react/display-name':
contextOrFilename.getFilename is not a function
Root Cause:
eslint-plugin-react@7.37.5(fromeslint-config-next@16.1.6) only supportseslint ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7(see pnpm-lock.yaml:1699)- ESLint 10 changed the context API, breaking compatibility
Impact:
- ❌ Linting completely broken
- ❌ CI/CD pipeline fails
- ❌ Pre-commit hooks fail
⚠️ Security rules not enforceable
Recommendation:
Keep ESLint at ^9.39.2 until the Next.js ecosystem adds ESLint 10 support.
Block in Renovate:
{
"packageRules": [{
"matchPackageNames": ["eslint"],
"allowedVersions": "<10",
"description": "Block ESLint 10 until eslint-plugin-react@8.x is released"
}]
}Expected Timeline: March-April 2026
Tracking:
- eslint-plugin-react ESLint 10 support
- Wait for
eslint-plugin-react@8.xoreslint-config-next@16.2+
1a0e9db to
8882b7e
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 BLOCKING: Incompatible Transitive Dependency
This ESLint upgrade breaks linting completely due to eslint-plugin-react@7.37.5 (from eslint-config-next@16.1.6).
Error:
TypeError: Error while loading rule 'react/display-name':
contextOrFilename.getFilename is not a function
Root Cause:
eslint-plugin-react@7.37.5peer dependency:^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7- ESLint 10 changed context API (
getFilename()→filenameproperty)
Recommendation:
Block ESLint 10 in Renovate config until eslint-plugin-react@8.x or eslint-config-next@16.2+ releases with ESLint 10 support.
8882b7e to
d98755c
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 BLOCKING: Incompatible Transitive Dependency
This ESLint upgrade breaks linting completely due to eslint-plugin-react@7.37.5 (from eslint-config-next@16.1.6).
Error:
TypeError: Error while loading rule 'react/display-name':
contextOrFilename.getFilename is not a function
Root Cause:
eslint-plugin-react@7.37.5peer dependency:^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7(see pnpm-lock.yaml:1699)- ESLint 10 changed context API (
getFilename()→filenameproperty)
Recommendation:
Block ESLint 10 in Renovate config until eslint-plugin-react@8.x or eslint-config-next@16.2+ releases with ESLint 10 support.
d98755c to
2fd9ef4
Compare
2fd9ef4 to
4b78234
Compare
4b78234 to
0877aa9
Compare
0877aa9 to
9db2f64
Compare
9db2f64 to
a775f90
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 BLOCKING: ESLint 10 Incompatibility
This version upgrade breaks linting completely due to an incompatible transitive dependency.
Error:
TypeError: Error while loading rule 'react/display-name':
contextOrFilename.getFilename is not a function
Root Cause:
eslint-plugin-react@7.37.5(fromeslint-config-next@16.1.6) only supportseslint ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7(see pnpm-lock.yaml:1699)- ESLint 10 changed the context API (
getFilename()method →filenameproperty)
Impact:
- ❌ Linting completely broken (CI fails at lint step)
- ❌ Pre-commit hooks fail
- ❌ Code quality standards not enforceable
⚠️ Security rules disabled
Recommendation:
Keep ESLint at ^9.39.2 and block ESLint 10 upgrades in Renovate config:
{
packageRules: [{
matchPackageNames: ["eslint"],
allowedVersions: "<10",
description: "Block ESLint 10 until eslint-plugin-react@8.x is released"
}]
}Timeline: March-April 2026 (waiting for eslint-plugin-react@8.x or eslint-config-next@16.2+)
Tracking: jsx-eslint/eslint-plugin-react#3699
a775f90 to
cadc79c
Compare
| "babel-plugin-react-compiler": "1.0.0", | ||
| "concurrently": "9.2.1", | ||
| "eslint": "9.39.2", | ||
| "eslint": "10.0.0", |
There was a problem hiding this comment.
🚨 BLOCKING: ESLint 10 Breaking Change
This version upgrade breaks linting completely due to an incompatible transitive dependency.
Error:
TypeError: Error while loading rule 'react/display-name':
contextOrFilename.getFilename is not a function
Root Cause:
eslint-plugin-react@7.37.5(fromeslint-config-next@16.1.6) only supportseslint ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7(see pnpm-lock.yaml:1703)- ESLint 10 changed the context API (
getFilename()→filenameproperty)
Impact:
- ❌ Linting completely broken
- ❌ CI/CD pipeline fails
- ❌ Pre-commit hooks fail
⚠️ Security rules not enforceable
Recommendation:
Keep ESLint at ^9.39.2 and block ESLint 10 upgrades in Renovate config:
{
"packageRules": [{
"matchPackageNames": ["eslint"],
"allowedVersions": "<10",
"description": "Block ESLint 10 until eslint-plugin-react@8.x is released"
}]
}Expected Timeline: March-April 2026
Tracking:
- eslint-plugin-react ESLint 10 support
- Wait for
eslint-plugin-react@8.xoreslint-config-next@16.2+
cadc79c to
7b1622b
Compare
7b1622b to
e2fba81
Compare
e2fba81 to
6ef7c2e
Compare
6ef7c2e to
63142b1
Compare
This PR contains the following updates:
9.39.2→10.0.0Release Notes
eslint/eslint (eslint)
v10.0.0Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.